﻿using XYS.Core.Models;

namespace XYS.Core.Service.APILoggerService
{
    /// <summary>
    /// 
    /// </summary>
    public interface IAPILoggerService
    {
        /// <summary>
        /// 新的日志进入队列
        /// </summary>
        /// <returns></returns>
        void AddLog(APILoggerInfo arg);

        /// <summary>
        /// 新的日志进入队列
        /// </summary>
        /// <returns></returns>
        void AddLog(IEnumerable<APILoggerInfo> request);

        /// <summary>
        /// 初始化
        /// </summary>
        Task InitAsync();
    }
}